projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7a488
)
Disable terminal tests on windows
author
Alex Crichton
<alex@alexcrichton.com>
Wed, 25 Jun 2014 05:04:13 +0000
(22:04 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Wed, 25 Jun 2014 18:12:56 +0000
(11:12 -0700)
The windows terminal does not use terminfo and is much different, so these tests
will fail on windows or actually write to the console.
tests/test_shell.rs
patch
|
blob
|
history
diff --git
a/tests/test_shell.rs
b/tests/test_shell.rs
index 908ebaf39699ae2e20497b0e1c7742ba17f4dde9..df730a2148027b8d5a4a5e4358c32cf0231b30db 100644
(file)
--- a/
tests/test_shell.rs
+++ b/
tests/test_shell.rs
@@
-1,3
+1,7
@@
+#![cfg(not(windows))] // getting the actual colored output is a little different
+ // on windows, so it's tough to get a reference copy of all
+ // the color
+
use support::{ResultTest,Tap,shell_writes};
use hamcrest::{assert_that};
use std::io::{MemWriter, BufWriter, IoResult};